<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="g" uri="/g-tags"%>
<script type="text/javascript"> 
$(document).ready(function(){
	//slides the element with class "menu_body" when paragraph with class "menu_head" is clicked 
	$("#accordion div.accordion_header").click(function(){
		$(this).next("div.accordion_body").slideToggle(300).siblings("div.accordion_body").slideUp("slow");
       	//$(this).siblings();
	});
});
</script>


<!--折叠面板-->
<div class="accordion" id="accordion">
	
    <jsp:include page="../menu.jsp"></jsp:include>
	
    <g:auth>
    <div class="accordion_header">
        <h2><div class="icon icon_page"></div>
        	用户权限管理</h2>
    </div>
    <div class="accordion_body">
        <div class="colnav">
        	<a onclick='menuTarget("user/user!main.shtml")'
            	 class="title" href="#"><span class="icon icon_page"></span>
            	用户管理
            </a>
            <a onclick='mainTarget("role/role!main.shtml")'
            	 class="title" href="#"><span class="icon icon_page"></span>
            	角色管理
            </a>
            <g:auth url="group/group!main.shtml">
            <a onclick='mainTarget("group/group!main.shtml")'
            	 class="title" href="#"><span class="icon icon_page"></span>
            	组织结构
            </a>
        	</g:auth>
        </div>
    </div>
    </g:auth>
    <div class="accordion_header">
        <h2><div class="icon icon_page"></div>
        	系统管理</h2>
    </div>
    <div class="accordion_body">
        <div class="colnav">
        	<a class="title" href='javascript:menuTarget("dict/dict!main.shtml")'>
        		<span class="icon icon_page"></span>
            	数据字典
            </a>
            <a class="title" href='javascript:menuTarget("setting/setting!main.shtml")'>
            	<span class="icon icon_page"></span>
            	系统设置
            </a>
            <a onclick='menuTarget("user/password!edit.shtml")'
            	 class="title" href="#"><span class="icon icon_page"></span>
            	修改密码
            </a>
        </div>
    </div>
    
</div>
<!--折叠面板 end-->
